package com.bite.ioc.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:DELL
 * Date:2025-05-19
 * Time:20:19
 */
@ConfigurationProperties("student")//拿值
@Component//交给spring管理
@Data//构造方法
public class Student {
    private Integer id;
    private String name;
    private Integer age;
}
